<!DOCTYPE html>
<html>

<head>
    <title>Compute normal data ellipses</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>stat_ellipse {ggpubr}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Compute normal data ellipses</h2>

        <h3>Description</h3>

        

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>stat_ellipse</strong>(
    <i>data</i> = <span style='color: blue !important;'>NULL</span>,
    <i>color</i> = <span style='color: blue !important;'>NULL</span>,
    <i>level</i> = <span style='color: green;'>0.95</span>,
    <i>alpha</i> = <span style='color: green;'>0.6</span>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>data</dt>
<dd><p>The data to be displayed in this layer. There are three options:
 If NULL, the Default, the data Is inherited from the plot data As specified In the Call To ggplot().
 A data.frame, Or other Object, will override the plot data. All objects will be fortified To produce a data frame. See fortify() For which variables will be created.
 A Function will be called With a Single argument, the plot data. The Return value must be a data.frame, And will be used As the layer data. A Function can be created from a formula (e.g. ~ head(.x, 10)).</p></dd>


<dt>color</dt>
<dd><p>-</p></dd>


<dt>level</dt>
<dd><p>The level at which to draw an ellipse, or, if type="euclid", the radius of the circle to be drawn. [as double]</p></dd>


<dt>alpha</dt>
<dd><p>[as double]</p></dd>

        </table>


        <h3 style="display: none;">Details</h3>

        

        <h3 style="display: block">Authors</h3>

        ggpubr

        <h3>Value</h3>

        this function returns data object of type <a href="/vignettes/clr/ggplot/layers/ggplotLayer.html">ggplotLayer</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/layers/ggplotLayer.html">ggplotLayer</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggpubr</em> version 1.0.0.0 <a
                href="../ggpubr.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>